<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./vue.js"></script>
</head>
<body>
<div id="root">
    <input v-model.trim="str" type="text">
    <div>青龙{{str}}白虎</div>
    <hr/>
    <input type="text" v-model.number="a">+<input type="text" v-model.number="b"> <button @click="c=a+b;">=</button>
    <input type="text" v-model="c">
    <hr/>
    <input type="text" v-model.lazy="str">
</div>
</body>
<script>

    new Vue({
        el: "#root",
        data:{
            str:"心情很好！",
            a:100,
            b:200,
            c:300
        }
    })
</script>
</html>